﻿using System.Collections;
using System.Reflection;

namespace Framework.Metadata
{
    public class LazyLoadPropertyMetadataFactory : PropertyMetadataFactory<LazyLoadPropertyMetadata>
    {
        public override bool CanHandleProperty(PropertyInfo propertyInfo)
        {
            return (typeof (IEnumerable).IsAssignableFrom(propertyInfo.PropertyType));
        }
    }
}